home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
utils
/
dircnt.arc
/
DIRCNT.DOC
< prev
next >
Wrap
Text File
|
1987-01-18
|
1KB
|
30 lines
This is the documentation file for dircnt.ttp
dircnt.ttp [drives] recursively descends the directory trees
of drives counting the sub directories. It counts the root
but it does not count the cartridge port. When invoked
with no arguments it looks at drives C: and above. It ignores
a drive if its is not installed and prints an error message. If
used on a floppy drive and a disk is not in the drive then it does
not die gracefully.Probably a couple of bombs.
Arguments should be separated by white space.Only the first letter of
a drive is checked so that dircnt.ttp a b is the same as dircnt.ttp ax b.
Please let me know of any bugs or suggestions for improvements.
David DeGeorge
princeton!idacrd!dld
ihnp4!acr011!dld
ihnp4!rogue!dld
example:
dircnt a b c d e f h on my system with hard disk logical drives c d e,
floppies a b, and ramdisk f
produces:
Drive h is not installed
The total number of directories on drive A is 2
The total number of directories on drive B is 3
The total number of directories on drive C is 4
The total number of directories on drive D is 5
The total number of directories on drive E is 2
The total number of directories on drive F is 3
The total number of directories counted is 19